const mysql = require('mysql');
const db = mysql.createPool({
  host:'127.0.0.1',
  user:'root',
  password:'xihaya',
  database:'bysj',
  port:'3306'
}) // 查询返回的是数组

module.exports = db;